package com.cskaoyan.bean.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
public class GoodsStatVo {

    private List<String> columns;
    private List<Rows> rows;

    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    @Builder
    public static class Rows {
        //下单货品总金额
        //金钱的类型要使用BigDecimal
        private BigDecimal amount;
        //订单量
        private Integer orders;
        //查询时间
        private String day;
        //下单货品总数
        private Integer products;
    }
}
